package interfaces.menu;

import org.fenggui.binding.render.ImageFont;
import org.fenggui.event.IButtonPressedListener;

import interfaces.tables.TableButton;

public class MapTableButton extends TableButton {
	
	private String mapDirName;
	
	public MapTableButton(String mapName, String mapDirName, IButtonPressedListener listener, ImageFont font) {
		super(mapName, listener, font);
		this.mapDirName = mapDirName;
	}
	
	public String getMapDirName() { return mapDirName; }
	
	@Override
	public TableButton getCopy() {
		return new MapTableButton(getText(), mapDirName, getListener(), buttonFont);
	}
}